//
//  UIView+Extension.swift
//  SinaWebo
//
//  Created by 陶建 on 16/3/28.
//  Copyright © 2016年 taoJ. All rights reserved.
//

import UIKit

extension UIView {
    func initWithFromXib(xibName: String) -> UIView {
        return NSBundle.mainBundle().loadNibNamed(xibName, owner: nil, options: nil).last as! UIView
    }
}